package com.yh.ldzl.service;

import java.util.List;
import java.util.Map;

import com.yh.ldzl.domain.QcIqc;
import org.apache.ibatis.annotations.Param;

/**
 * ldzl-qcService接口
 * 
 * @author yanghuai
 * @date 2025-07-02
 */
public interface IQcIqcService 
{
    /**
     * 查询ldzl-qc
     * 
     * @param iqcId ldzl-qc主键
     * @return ldzl-qc
     */
    public QcIqc selectQcIqcByIqcId(Long iqcId);

    /**
     * 查询ldzl-qc列表
     * 
     * @param qcIqc ldzl-qc
     * @return ldzl-qc集合
     */
    public List<QcIqc> selectQcIqcList(QcIqc qcIqc);

    /**
     * 新增ldzl-qc
     * 
     * @param qcIqc ldzl-qc
     * @return 结果
     */
    public int insertQcIqc(QcIqc qcIqc);

    /**
     * 修改ldzl-qc
     * 
     * @param qcIqc ldzl-qc
     * @return 结果
     */
    public int updateQcIqc(QcIqc qcIqc);

    /**
     * 批量删除ldzl-qc
     * 
     * @param iqcIds 需要删除的ldzl-qc主键集合
     * @return 结果
     */
    public int deleteQcIqcByIqcIds(Long[] iqcIds);

    /**
     * 删除ldzl-qc信息
     * 
     * @param iqcId ldzl-qc主键
     * @return 结果
     */
    public int deleteQcIqcByIqcId(Long iqcId);

    boolean selectQcIqcCodeUnique(int source_doc_id,String material_code);

    boolean selectQcIqcLineCodeUnique( String iqc_code);

    QcIqc selectQcIqcDetail(String source_doc_code);


    QcIqc selectQcIqcId( Long source_doc_id);

    /**
     * 查询入库单列表
     * @return
     */
    List<Map<String,Object>> selectCkProductRecptDetectSingle(String recpt_code,String recpt_name);

    List<Map<String,Object>> selectCkProductRecptGoodsCode(Long recpt_id );


}
